﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace App.Components
{

    public class LayUIGridResult
    {
        public int code { get; set; }
        public object data { get; set; }
        public string msg { get; set; }
        public long count { get; set; } = 0;

        public LayUIGridResult(object data)
        {
            code = 0;
            this.data = data;
            msg = "加载成功";
        }

        public LayUIGridResult(int code, string msg = "系统异常")
        {
            this.code = code;
            this.msg = msg;
        }

    }

    public class LayUIPagination
    {
        public int page { get; set; }
        public int limit { get; set; }
        public long count { get; set; }
    }


    public class LayUI
    {
    }
}
